<template>
  <!-- 投入设备详情 -->
  <div class="wrap">
    <el-row class="line36">
      <el-col> 设备方: <span>11111</span> </el-col>
      <el-col> 负责人: <span>112222</span> </el-col>
      <el-col> 账号ID: <span>112222</span> </el-col>
    </el-row>
    <div class="labelBox">
      <el-row class="line36">
        <el-col>
          <span :span="4">11111</span>
        </el-col>
        <el-col>
          <span :span="4">112222</span>
        </el-col>
        <el-col>
          <span :span="4">112222</span>
        </el-col>
      </el-row>
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="用户管理" name="first">用户管理</el-tab-pane>
        <el-tab-pane label="配置管理" name="second">配置管理</el-tab-pane>
        <el-tab-pane label="角色管理" name="third">角色管理</el-tab-pane>
        <el-tab-pane label="定时任务补偿" name="fourth"
          >定时任务补偿</el-tab-pane
        >
      </el-tabs>
      <div class="block mt-20">
        <el-row justify="center" type="flex">
          <el-pagination
            @size-change="handleSizeChange"
            @current-change="handleCurrentChange"
            :current-page="pageIndex"
            :page-sizes="[10, 20, 30, 40]"
            :page-size="100"
            layout="total, sizes, prev, pager, next, jumper"
            :total="total"
          >
          </el-pagination>
        </el-row>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name:'devicedetails',
  data() {
    return {
      activeName: "first",
    };
  },
  mounted() {
    // this.StoreGetPageList();
  },
  methods: {
    StoreGetPageList() {
      let data = {
        pageIndex: this.pageIndex,
        pageSize: this.pageSize,
        storetype: this.storetype,
      };
      this.$api.storeManage.StoreGetPageList(data).then((res) => {
        console.log(res);
        this.tableData = res.data.list;
        this.total = res.data.total;
      });
    },
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>
<style scoped>
.wrap {
  width: 100%;
  padding: 10px;
  background: #f5f5f5;
}
.labelBox {
  background: #fff;
  padding: 10px;
}
.block {
  text-align: right;
}
</style>
